﻿package bipede.membres
{
	//import flash.display.DisplayObject;
	import events.MoveEvent;
	import fl.ik.*;	
	import flash.geom.Point;
	
	public class PhysicJoint// extends IKJoints ???
	{
		public var _ikMover:IKMover;
		public var _ikJoint:IKJoint;
		
		public var position:Point = new Point(0, 0);
		public var physic_contrainte:Point;
		
		static public var liste:Object = {};
		
		public function PhysicJoint( ikJoint:IKJoint )
		{
			_ikJoint = ikJoint;
			//_ikMover = ikMover;
			liste[ _ikJoint.name ] = this;
		}
		//public function getPhysicJoint( ikJoint:IKJoint ):PhysicJoint
		//{
			// TODO
			//return this;
			//
			//
		//}		
		public function toString():String
		{
			return "PhysicJoint : " + _ikJoint.name;
		}	
	}	
}